<?php /* Smarty version Smarty-3.1.6, created on 2018-03-10 22:28:38
         compiled from "./Tpl/Admin\login.html" */ ?>
<?php /*%%SmartyHeaderCode:249615aa3e6784af8c4-52927265%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '5d7e5824ef0196846c8b01e432cb8cf781764b5d' => 
    array (
      0 => './Tpl/Admin\\login.html',
      1 => 1520692109,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '249615aa3e6784af8c4-52927265',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.6',
  'unifunc' => 'content_5aa3e67853844',
  'variables' => 
  array (
    'preStaticUrl' => 0,
    'resVersion' => 0,
    'postUrl' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5aa3e67853844')) {function content_5aa3e67853844($_smarty_tpl) {?><!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>登陆</title>
<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['preStaticUrl']->value;?>
/Admin/css/common.css"/>
<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['preStaticUrl']->value;?>
/Admin/css/index.css"/>
<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['preStaticUrl']->value;?>
/Admin/js/lib/layer/skin/layer.css"/>
	<script src="<?php echo $_smarty_tpl->tpl_vars['preStaticUrl']->value;?>
/js/jquery-2.1.4.min.js?v=<?php echo $_smarty_tpl->tpl_vars['resVersion']->value;?>
"></script>
	<script src="<?php echo $_smarty_tpl->tpl_vars['preStaticUrl']->value;?>
/layer/layer.js?v=<?php echo $_smarty_tpl->tpl_vars['resVersion']->value;?>
"></script>
<script>
$(document).ready(
		function(){
				$("#popup-submit").click(function () {
					$.ajax({
						url: "<?php echo u('check_login');?>
", // 加随机数防止缓存
						type: "post",
						dataType: "json",
						data: {
							// 二次验证所需的三个值
							userName:$('#userName').val(),
							passWord:$('#passWord').val()

						},
						success: function (result) {
							if (result.status == 1) {
								layer.msg("登陆成功，正在转入管理后台");
								location.href="<?php echo U('index/index');?>
";
							} else {
								layer.msg(result.info);
							}
						}
					});

			});
		}
)


</script>
</head>
<body ng-controller="xyController" class="loginPage">
<form action="<?php echo $_smarty_tpl->tpl_vars['postUrl']->value;?>
" method="post" id="loginForm">
	<div class="abosuluteCenter pageContent hAlignCenterDiv">
		
			<div class="xyLogo" style="margin-top: 30px;"></div>
			<div class="accountInput"><input type="text" class="userInfoInput" id="userName" ng-model="accountV"/></div>
			<div class="passwordInput"><input type="password" class="userInfoInput" id="passWord" ng-model="passwordV"/></div>
			<div style="margin-top: 30px;">
				<a class="xy-button" id="popup-submit">登陆</a>
			</div>
			<div class="poweredTxt">Powered by JiaochenClub  2015-2018  轿辰会</div>
			<div class="alertTxt"><a ng-click="downloadChrome()">点击下载Chrome浏览器（谷歌），否则某些功能有可能无法使用！</a></div>
		
	</div>
	</form>
</body>
</html>

<?php }} ?>